import './index.scss'
import img from '../../../../assets/images/banners/banner1.jpg'
import LevelImg from '../../../../assets/images/icons/level.png'
import TimeImg from '../../../../assets/images/icons/time.png'
import {useNavigate} from 'react-router-dom'
export default function Index() {
    const navigate =useNavigate()
    //路由跳转
    const handleJump=()=>{
        navigate('/hospital/order/1')
    }
    return (
        <div className={'list-content'}>
            <div className={'item active'} onClick={handleJump}>
                <img className={'img'} src={img} alt=""/>
                <div className={'info'}>
                    <span className={'name'}>北京人民医院</span>
                    <div className={'bottom grey'}>
                        <div className={'left'}>
                            <img src={LevelImg} alt=""/>
                            <span className={'grey'}>三级甲等</span>
                        </div>
                        <div className={'right'}>
                            <img src={TimeImg} alt=""/>
                            <span className={'grey'}>每天08:30放好</span>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    )
}
